123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SMAHA01500.xrw
- * 설 명 : 일반건진예약/접수
- * 설 계 자 : 손주연
- * 작 성 자 : 손주연
- * 작 성 일 : 2007.05.13
- * 수정이력 :
- * 기 타 :
- * https://ncs.ncc.re.kr/ncsapps/popup/GetPersonExamResultList.jsp : 국가조기암건진대상자조회
- -->
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
- <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
- <xhtml:head>
- <xhtml:title>예약/접수[일반건진]</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <list>
- <rsrvlst>
- <pid/>
- <pnm/>
- <sexage/>
- <rsrvdttm/>
- <lastupdtrid/>
- <lastupdtdt/>
- <statflag/>
- <cmpynm/>
- <rsrvdd/>
- <rsrvno/>
- </rsrvlst>
- <acptlst>
- <pid/>
- <pnm/>
- <sexage/>
- <acptflag/>
- <acptdttm/>
- <rsrvdt/>
- <lastupdtrid/>
- <lastupdtdt/>
- <cmpynm/>
- <rsrvdd/>
- <rsrvno/>
- </acptlst>
- <cncllst>
- <pid/>
- <pnm/>
- <sexage/>
- <cncldttm/>
- <lastupdtrid/>
- <lastupdtdt/>
- <cmpynm/>
- <statflag/>
- <rsrvdd/>
- <rsrvno/>
- </cncllst>
- <listinfo>
- <acptcnt/>
- <rsrvcnt/>
- <rcptcnt/>
- <cnclcnt/>
- <holdcnt/>
- <failcnt/>
- </listinfo>
- <sndlst>
- <pid/>
- <pnm/>
- <sexage/>
- <acptdt/>
- <lastupdtrid/>
- <lastupdtdt/>
- <rsrvdd/>
- <rsrvno/>
- </sndlst>
- </list>
- <info>
- <patinfo>
- <item>
- <pid/>
- <rgstno1/>
- <rgstno2/>
- <hngnm/>
- <engnm/>
- <sex/>
- <age/>
- <brthdd/>
- <zipcd11/>
- <zipcd12/>
- <zipcdseq1/>
- <addr1/>
- <detladdr1/>
- <mpphon/>
- <telno/>
- <emailid/>
- <emailtype/>
- <healexampid/>
- <emailkind/>
- <zipcd21/>
- <zipcd22/>
- <zipcdseq2/>
- <addr2/>
- <detladdr2/>
- <psptno/>
- <brthareacnts/>
- <pidcretfg/>
- <patm_insuid/>
- <patm_insukind/>
- <patm_insucd/>
- </item>
- </patinfo>
- <rsrvacptinfo>
- <item>
- <rsrvdd/>
- <rsrvno/>
- <healexamdetlflag/>
- <hopedd/>
- <rsrvtm/>
- <pid/>
- <orddd/>
- <healexampid/>
- <rcptstat/>
- <disccd/>
- <cmpyflag/>
- <cmpycd/>
- <bizoffccd/>
- <deptcd/>
- <clntempid/>
- <entcodd/>
- <jobkindflag/>
- <remcnts/>
- <rsrvflag/>
- <rsltcnstflag/>
- <rsltcnstrsrvdd/>
- <jobposcd/>
- <relacd/>
- <insucorpbrchcd/>
- <empid/>
- <insutrgtflag/>
- <insuflag/>
- <plceflag/>
- <scndhptstrgtyn/>
- <oraltestyn/>
- <freecncrtrgtyn/>
- <stmccncrflag/>
- <stmccncryn/>
- <largeintescncrflag/>
- <largeintescncryn/>
- <livcncrtrgtyn/>
- <livcncrflag/>
- <mamcncryn/>
- <mamcncrflag/>
- <cervcncrflag/>
- <cervcncryn/>
- <healcntrcd/>
- <spclhealexamflag/>
- <schlgrde/>
- <clsid/>
- <studid/>
- <medicostyn/>
- <insuclamyn/>
- <judgdrid/>
- <statflag/>
- <calcyn/>
- <pkgcd/>
- <conseq/>
- <pkguncocd/>
- <ownuncoamt/>
- <cmpynm/>
- <bizoffcnm/>
- <deptnm/>
- <healcntrnm/>
- <insucorpbrchnm/>
- <livcncrtrgtyn2/>
- <pkgnm/>
- </item>
- <pkglst>
- <sel/>
- <pkgcd/>
- <pkgnm/>
- <rsrvdd/>
- <acptdd/>
- <acpttm/>
- <uncocd/>
- <statflag/>
- <manamt/>
- <womamt/>
- <conseq/>
- <pkgflag/>
- <lastupdtrid/>
- <lastupdtdt/>
- <disccd/>
- <calcscorcd/>
- </pkglst>
- <addlst>
- <sel/>
- <testflag/>
- <testcd/>
- <testnm/>
- <uncocd/>
- <scoreamt/>
- <prcptims/>
- <cmpydiscamt/>
- <examseq/>
- <calcscorcd/>
- <prcpno/>
- <prcpdd/>
- <m/>
- </addlst>
- <historylst/>
- <firstrslt/>
- </rsrvacptinfo>
- <histlst>
- <item>
- <orddd/>
- <pkgcd/>
- <pkgnm/>
- <cmpyflag/>
- <rsrvdd/>
- <rsrvno/>
- <lastupdtrid/>
- <lastupdtdt/>
- </item>
- </histlst>
- <rcptinfo>
- <totamt/>
- <payinsubamt/>
- <payownbamt/>
- <payhealcntramt/>
- <paycmpyamt/>
- </rcptinfo>
- <curlst>
- <ordinfo>
- <ordlst>
- <rsrvdd/>
- <rsrvtm/>
- <prcpdd/>
- <testcd/>
- <testnm/>
- <uncocd/>
- <dcflag/>
- <testflag/>
- <prcpexecdeptcd/>
- <lastupdtrid/>
- <lastupdtdt/>
- <prcpno/>
- <execprcpno/>
- <rcptstat/>
- <scoreamt/>
- </ordlst>
- </ordinfo>
- </curlst>
- </info>
- <prntinfo>
- <prntyn>Y</prntyn>
- <prntlang>K</prntlang>
- </prntinfo>
- </main>
- <send>
- <srchrsrvdd/>
- <srchrsrvno/>
- <srchfromdd/>
- <srchtodd/>
- <srchhealexamdetlflag/>
- <srchpid/>
- <srchpnm/>
- <srchpid2/>
- <srchpnm2/>
- <srchinstcd/>
- <srchmode/>
- <srchhealexamflag/>
- <srchpkgcd/>
- <srchcmpycd/>
- <srchconseq/>
- <srchsex/>
- <srchjobflag/>
- <save>
- <instcd/>
- <userid/>
- </save>
- <savercpt>
- <opmi_out/>
- </savercpt>
- <srchorddd/>
- <srchcretno/>
- </send>
- <init>
- <srchmode>4</srchmode>
- <emailkind/>
- <srchhealexamdetlflag/>
- <srchhealexamflag/>
- <baseinfo>
- <healexamdetlflag/>
- <insutrgtflag/>
- <insuflag/>
- <plceflag/>
- <jobkindflag/>
- <spclhealexamflag/>
- <emailkind/>
- <cmpydetlcdlst/>
- <testflag/>
- <statlst/>
- <rsrvflaglst/>
- <ordstatlst/>
- </baseinfo>
- </init>
- <hidden>
- <save/>
- <item/>
- <saveacpt>
- <rsrvdd/>
- <rsrvno/>
- </saveacpt>
- </hidden>
- <source/>
- <temp>
- <addr>
- <zipcd/>
- <addrdetl/>
- </addr>
- <templst/>
- <rcptinfo>
- <hidden/>
- </rcptinfo>
- <cdlst/>
- <acptdtl>
- <addlist/>
- </acptdtl>
- <rcptno_out/>
- </temp>
- </root>
- </instance>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../ast/commonweb/js/AST.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../ast/healexamweb/js/AHA001.js"/>
- <script type="javascript" src="../../../com/zipcodeweb/js/ZBP001.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fGetBaseInfo();
- fSrchDtInit();
- fInitInfo();
- fInitList();
- model.toggle("case_acpt");
- btn_acptlst.selected= true ;
- fSetBtnStat();
- fGetList();
- ]]>
- </script>
- <submission id="TRZBC00101"/>
- <submission id="TXAHA00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" replace="instance" resultref="/root/hidden"/>
- <submission id="TXAHA00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" replace="instance" resultref="/root/tmp"/>
- <submission id="TRAHA00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp/patinfo"/>
- <submission id="TRAHA00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp/info"/>
- <submission id="TRAHA00103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/list"/>
- <submission id="TRAHA00107" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp/pkgtestcdlst"/>
- <submission id="TRAHA00104" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/baseinfo/pamcdlst"/>
- <submission id="TRAHA00106" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/info/histlst"/>
- <submission id="TRAHA00108" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/baseinfo/cmpydetlcdlst"/>
- <submission id="TXAHA02101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp/rcptinfo/hidden"/>
- <submission id="TXAHA02102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savercpt" replace="instance" resultref="/root/temp/rcptinfo/hidden"/>
- <submission id="TRAHA00701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/info/curlst/ordinfo"/>
- <submission id="TRAHA00111" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp/rsrvacptkey"/>
- <submission id="TRAHA00105" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp/cdlst"/>
- <submission id="TRAHA02102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp/acptdtl"/>
- <submission id="TRAHA02105" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp/rcptno_out"/>
- <submission id="TXAHA00106" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/hidden" replace="instance" resultref="/root/tmp"/>
- <submission id="TXAHA00107" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/tmp" resultref="/root/hidden"/>
- <submission id="TXAHA00903" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="root/main/info/rcptinfo"/>
- </model>
- <script type="javascript">
- <![CDATA[
- /**
- *기본정보 가져오기
- */
- function fGetBaseInfo(){
- //일반건진상세구분, 직역구분, 대상구분, 장소구분, 직종구분, 특검구분, EMAIL계정
- zbcfGetCodeList( new Array("A0070","A0108" ,"A0109", "A0110", "A0112" ,"A0111","A0120", "A0117" , "A0107" , "A0115", "M0011"),
- new Array("/root/init/baseinfo/healexamdetlflag" // 일반건진상세구분
- , "/root/init/baseinfo/insutrgtflag" // 직역구분
- , "/root/init/baseinfo/insuflag" // 대상구분
- , "/root/init/baseinfo/plceflag" // 장소구분
- , "/root/init/baseinfo/jobkindflag" //직종구분
- , "/root/init/baseinfo/spclhealexamflag" //특검구분
- , "/root/init/baseinfo/emailkind" //email 계정
- , "/root/init/baseinfo/testflag"
- , "/root/init/baseinfo/statlst"
- , "/root/init/baseinfo/rsrvflaglst"
- ,"/root/init/baseinfo/ordstatlst"
- ) );
- submit("TRZBC00101");
-
- model.setValue("/root/send/srchinstcd", getUserInfo("dutplceinstcd") );
- submit("TRAHA00104");
- }
- /**
- *입력항목 초기화
- */
- function fInitInfo(){
- model.resetInstanceNode("/root/main/info/patinfo");
- fInitRsrvAcptInfo();
- //model.refresh();
- //fSetBtnStat();
- }
- /**
- * 접수 정보 초기화
- */
- function fInitRsrvAcptInfo(){
- model.resetInstanceNode("/root/main/info/rsrvacptinfo");
- model.resetInstanceNode("/root/main/info/rcptinfo");
-
- model.removeNodeset("/root/main/info/rsrvacptinfo/pkglst");
- model.removeNodeset("/root/main/info/rsrvacptinfo/addlst");
- model.removeNodeset("/root/main/info/rsrvacptinfo/histlst");
- model.removeNodeset("/root/main/info/rsrvacptinfo/curlst");
-
- var curDD = getCurrentDate();
- model.setValue(ipt_orddd.attribute("ref") , curDD );
- model.setValue(ipt_hopedd.attribute("ref") , curDD );
- model.setValue(ipt_entcodd.attribute("ref") , curDD );
- //cmb_healexamdetlflag.refresh();
- model.setValue( cmb_healexamdetlflag.attribute("ref"), cmb_srchhealexamdetlflag.value );
- model.setValue(rdo_plceflag.attribute("ref") , "2"); //내원
- model.setValue(rdo_insutrgtflag.attribute("ref") , "K"); //직장
- model.setValue(cmb_insuflag.attribute("ref") , "1"); //직장
- model.setValue(rdo_scndhptstrgtyn.attribute("ref") , "N"); //2차간염대상
- model.setValue(rdo_oraltestyn.attribute("ref") , "Y"); //구강검사대상여부
- model.setValue(rdo_freecncrtrgtyn.attribute("ref") , "N"); //무료암대상여부
- model.setValue(rdo_livcncrtrgtyn.attribute("ref") , "N"); //간암검사대상여부
- model.setValue(cmb_uncocd.attribute("ref") , "V03"); //청구구분 -공단
- model.setValue(cmb_disccd.attribute("ref") , "-"); //할인코드
- model.setValue(cmb_rsrvflag.attribute("ref") , "01"); //예약구분
- model.setValue("/root/main/info/rsrvacptinfo/item/cmpyflag" , "N"); //청구구분 -공단
- model.toggle("case_pkg");
- btn_pkglst.selected= true;
- model.setFocus("ipt_rgstno1");
- }
-
- /**
- *조회List초기회
- */
- function fInitList(){
- model.removeNodeset("/root/main/list/rsrvlst");
- model.removeNodeset("/root/main/list/acptlst");
- model.removeNodeset("/root/main/list/cncllst");
- model.removeNodeset("/root/main/list/sndlst");
- model.resetInstanceNode("/root/main/list/listinfo");
- }
- /**
- *조회Date초기화
- */
- function fSrchDtInit(){
- var curDD = getCurrentDate();770925
- model.setValue(ipt_srchfromdd.attribute("ref") , curDD );
- model.setValue(ipt_srchtodd.attribute("ref") , curDD );
- model.setValue(cmb_srchhealexamdetlflag.attribute("ref") , "G01");
- model.setValue(cmb_healexamdetlflag.attribute("ref") , "G01");
- }
-
- function fOperGrdRow(bAdd){
- var swt_idx = swt_info.selectedIndex ;
- switch(swt_idx) {
- case 0:
- if( bAdd ) {
- grd_pkglst.addRow();
- grd_pkglst.valueMatrix(grd_pkglst.row, 1) = "Y";
- grd_pkglst.col = 2;
- grd_pkglst.editCell();
- }
- else grd_pkglst.addStatus(grd_pkglst.row,"delete");
- break;
- case 1 :
- if( bAdd ) {
- grd_addlst.addRow();
- grd_addlst.valueMatrix(grd_addlst.row, 1) = "Y";
- grd_addlst.col = 2;
- grd_addlst.editCell();
- }
- else grd_addlst.addStatus(grd_addlst.row,"delete");
- break;
- case 2 :
- if( bAdd ) {
- grd_curlst.addRow();
- grd_curlst.editCell();
- }
- else grd_curlst.addStatus(grd_curlst.row,"delete");
- break;
- default:
- break;
- }
- }
- /**
- * 업체별 영업소 및 부서정보 조회
- */ function fGetCmpyDetlCdList(){
- if( ipt_cmpycd.value == "" ) return ;
- fCheckNodeExist("/root/send/srchcmpycd", true);
- model.setValue("/root/send/srchcmpycd", ipt_cmpycd.value );
- model.setValue("/root/send/srchinstcd" ,getUserInfo("dutplceinstcd"));
- submit("TRAHA00108");
-
- var node = instance1.selectSingleNode("/root/init/baseinfo/cmpydetlcdlst/info/insucorpbrchcd");
- if( node != null ) {
- ipt_insucorpbrchcd.value = model.getValue("/root/init/baseinfo/cmpydetlcdlst/info/insucorpbrchcd");
- opt_insucorpbrchnm.value = model.getValue("/root/init/baseinfo/cmpydetlcdlst/info/insucorpbrchnm");
- }
- }
- /**
- * 검사 및 패키지 코드
- */
- function fAddSingleTestCd(){
- var idx = 0;
- var sDest = "";
- var swt_idx = swt_info.selectedIndex ;
- var sCond = "";
-
- switch( swt_idx){
- case 0:
- idx = grd_pkglst.row ;
- sDest = grd_pkglst.attribute("nodeset") + "[" + idx + "]" ;
- sCond = grd_pkglst.valueMatrix(idx, 2);
- break;
- case 1:
- idx = grd_addlst.row ;
- sDest = grd_addlst.attribute("nodeset") + "[" + idx + "]" ;
- sCond = grd_addlst.valueMatrix(idx, 2);
- break;
- default :
- return ;
- break;
- }
- if( idx < 1) return ;
-
- fGetPkgCd("SMAHA01500", "P", "N","nm" , sCond, cmb_healexamdetlflag.value, opt_sex.value, sDest );
- }
- /**
- * 예약/접수/취소/보류 리스트 조회 .
- */
- function fGetList(){
- fInitList();
- if( isXPathTextNull( "/root/send/srchhealexamdetlflag") ||
- isXPathTextNull( "/root/send/srchtodd") ||
- isXPathTextNull( "/root/send/srchfromdd")) return ;
-
- model.setValue("/root/send/srchhealexamflag", fGetHealExamFlag());
- var vMode = fGetGnrlSrchMode();
- if( vMode == "") return ;
-
- model.setValue("/root/send/srchmode", vMode );
- model.setValue("/root/send/srchinstcd", getUserInfo("dutplceinstcd") );
- openLoadingBar("건진자 리스트를 가져오는 중입니다..") ;//처리중 화면을 오픈한다.
- submit("TRAHA00103");
- closeLoadingBar() ;//처리중 화면을 close한다.
- }
- /**
- * 예약접수 건진자 리스트 조회 모드 설정
- * 예약1/예약등록2/접수3/취소4~6/2차대상자 8
- */
- function fGetGnrlSrchMode(){
- var idx = swt_list.selectedIndex ;
-
- switch(idx){
- case 0: idx = 3;
- break;
- case 1: idx = rdo_cnclmode.value ;
- break;
- case 2: idx = 1;
- break;
- default: idx = 8;
- break;
- }
- return idx;
- }
-
- /**
- * 예약/접수정보를 저장
- * Mode : 공통코드A0107참조
- **A 예약
- **B 예약보류
- **C 예약확인
- **D 예약취소
- **E 접수
- **F 접수취소
- **G 결과
- **H 판정
- */
- /**
- * 예약/접수정보 check.
- */
- function fCheckAcpt(vMode){
- var vRsvdd = "";
- var vStatus = model.getValue("/main/info/rsrvacptinfo/item/status");
- var vHealExamFlag = fGetHealExamFlag();
-
- var age = model.getValue(opt_age.attribute("ref") ) ;
- if( (age == "16") || (age == "44") || (age == "66") ){
- if(messageBox("생애전환기건진 대상자 입니다!\n정보를 ", "Q002" ) !== 6) return false;
-
- }
- if( model.getValue( cmb_uncocd.attribute("ref") ) == "" ){
- messageBox(" 청구방법을 ", "C001") ;
- model.setFocus("cmb_uncocd");
- return false;
- }
- //예약의 경우 예약일 입력 필수
- if( vStatus == "C" ) {
- if( !isRequiredGroup("ipt_rsrvdd") ) return false;
- vRsvdd = model.getValue("/root/main/info/rsrvacptinfo/item/hopedd");
- vRsvdd = vRsvdd.toDate("YYYYMMDD");
- if( vRsvdd < getCurrentDate() ){
- messageBox("예약일자가 현재일자 전으로 ", "E005");
- model.setFocus("ipt_rsrvdd");
- return false;
- }
- }
- //접수
- else
- if( vMode == "E" ){
- var i = 0;
- var cnt = 0;
- var selrows = 0;/*grd_pkglst.rows;
- var selrows = 0;
- for( i = 1; i < cnt ; i++){
- if( grd_pkglst.valueMatrix(i, 1) == "Y" ) selrows++;
- }
- */
- var vData = model.getValue(ipt_pkgcd.attribute("ref")) ;
- if( vData == "" ) {
- messageBox(" 패키지를 ", "C001") ;
- return false;
- }
- /*grd_pkglst.getUpdateData();
- if( (selrows < 1) || (vData == "" )) {
- alert(" 패키지를 입력하세요.");
- return false;
- } */
- //직역구분
- if( rdo_insutrgtflag.value == "" ) {
- messageBox(" 직역구분을 ", "C002") ;
- return false ;
- }
- //대상
- if( cmb_insuflag.value == "" ) {
- messageBox(" 대상구분을 ", "C002") ;
- return false ;
- }
- var freecncryn = rdo_freecncrtrgtyn.value;
- if( freecncryn == "Y" ){
- if( ipt_healcntrcd.value == "" ) {
- messageBox("무료암 대상자입니다.\r\n관할 보건소를 ", "C001");
- model.setFocus("ipt_healcntrcd");
- return false;
- }
- }
- }
-
- if( ipt_insuid.value = "" ) {
- alert("증번호를 입력하세요");
- model.setFocus("ipt_insuid");
- return false ;
- }
- return true;
- }
- /**
- * 버튼 상태 변경
- */
- function fSetBtnStat(){
- btn_rsrvcfm.disabled = true;
- btn_acpt.disabled = true;
- btn_rcpt.disabled = false;
- btn_acptcncl.disabled = true;
- btn_rsrvcncl.disabled = true;
- var vStat = model.getValue("/root/main/info/rsrvacptinfo/item/statflag");
- if ( vStat == "C" ){ //예약
- btn_rsrvcncl.disabled = false;
- btn_rsrvcfm.disabled = false;
- btn_acpt.disabled = false;
- }
- else
- if( vStat == "D"){ //예약취소
- btn_rsrvcncl.disabled = true;
- btn_rsrvcfm.disabled = false;
- btn_acpt.disabled = false;
- }
- else
- if( vStat == "E" ){//접수
- btn_acptcncl.disabled = false;
- }
- else
- if( vStat == "F" ){ //접수취소
- btn_rsrvcfm.disabled = false;
- btn_acpt.disabled = false;
- }
- else {
- btn_rsrvcfm.disabled = false;
- btn_acpt.disabled = false;
- }
- model.refresh();
- }
- /**
- * 증번호 11자리수중 첫 자리가 1~4 : 지역(J), 5~6 : 공.교(G), 7~8 직장(K)
- */ function fSetInsuTrgtFg(){
- var insuid = ipt_insuid.value;
- if( insuid != "" ) {
- insuid = insuid.substr(0,1);
- if( (insuid == "5" ) || (insuid == "6") ) insuid = "G";
- else
- if( (insuid == "7" ) || (insuid == "8") ) insuid = "K";
- else insuid = "J";
-
- rdo_insutrgtflag.value = insuid;
- }
- }
- /**
- * 무료암대상일 경우 관할 보건소 입력 필수
- * 비대상일 경우 무료암구분 disable
- * 대상구분 check 필요. 나이에따라 다름.
- * 위암검사 :만 40세이상인 자로서 희망자
- * 유방암검사 :만 40세이상인 여성희망자
- * 대장암검사 :만 50세이상인 자로서 희망자
- * 간암검사 :○ 당해연도전 2년간 2차검진결과 간장
- 질환 유질환자 및 간암발생고위험군
- 중 만40세 이상의 희망자
- ○ 당해연도 2차검진결과 간장질환 유질환자 중 만40세 미만의 희망자
- - 이 경우 간초음파 검사만 실시
- * 자궁경부암검사 :만 30세 이상인 여성희망자
- */ function fSetCncrCtrl(){
- /* chx_stmccncryn.disabled = true;
- chx_largeintescncryn.disabled = true;
- chx_livcncrtrgtyn.disabled = true;
- chx_mamcncryn.disabled = true;
- chx_cervcncryn.disabled = true;
- var freecncryn = rdo_freecncrtrgtyn.value;
- if( freecncryn == "N" ){
- return ;
- }
- chx_stmccncryn.disabled = false;
- chx_largeintescncryn.disabled = false;
- chx_livcncrtrgtyn.disabled = false;
- chx_mamcncryn.disabled = false;
- chx_cervcncryn.disabled = false; */
- }
-
- function fCheckFreeCncrTrgt(vMode) {
- var freecncryn = rdo_freecncrtrgtyn.value;
- if( freecncryn == "Y" ){
- var sex = opt_sex.value;
- var age = 0;
- if( opt_age.value != "" ) age = parseInt(opt_age.value);
- //위암검사 :만 40세이상인 자로서 희망자
- switch (vMode) {
- case 1:
- if( chx_stmccncryn.value == "Y" ){
- if( age < 40 ) {
- messageBox("위암검사는 만 40세이상인 자로서 희망자에 한합니다." , "E999");
- return false ;
- }
- model.setValue(cmb_stmccncrflag.attribute("ref"), "V12" );
- cmb_stmccncrflag.refresh();
- }
- case 2:
- if( chx_mamcncryn.value == "Y" ) {
- if( ( sex != "F" ) || ( (sex == "F" ) && (age < 40) ) ) {
- messageBox("유방암은 만 40세이상인 여성희망자에 한합니다." , "E999");
- return false ;
- }
- model.setValue(cmb_mamcncrflag.attribute("ref"), "V12" );
- cmb_mamcncrflag.refresh();
- }
- break;
- case 3:
- //대장암검사 :만 50세이상인 자로서 희망자
- if( (chx_largeintescncryn.value == "Y" )&& ( age < 50 ) ){
- messageBox("대장암검사는 만 50세이상인 자로서 희망자에 한합니다." , "E999");
- return false;
- model.setValue(cmb_mamcncrflag.attribute("ref"), "V12" );
- cmb_mamcncrflag.refresh();
- }
- break;
- case 4:
- //자궁경부암 : 만 30세이상인 여성희망자
- if( (chx_cervcncryn.value == "Y") &&
- ( (sex != "F" ) || ( (sex == "F") && ( age < 30 ) ) ) ) {
- alert("자궁경부암은 만 30세이상인 여성희망자에 한합니다.");
- return false;
- model.setValue(cmb_cervcncrflag.attribute("ref"), "V12" );
- cmb_cervcncrflag.refresh();
- }
- break;
- default :
- break;
- }
- }
- return true;
- }
- /**
- * 건진내역 계산
- 건진구분 :srchhealexamflag
- 예약일자 :srchrsrvdd
- 예약번호 :srchrsrvno
- 등록번호 :srchpid
- 기관코드 :srchinstcd
- */ function fCalcAmt(vJobFlag){
- var ret = -1;
- var vTmp = fGetHealExamFlag();
- if( vTmp == "" ) return ret;
- model.setValue("/root/send/srchhealexamflag", vTmp );
- vTmp = model.getValue(ipt_pid.attribute("ref"));
- if( vTmp == "" ) return ret;
- model.setValue("/root/send/srchpid", vTmp );
-
- vTmp = model.getValue("/root/main/info/rsrvacptinfo/item/rsrvdd");
- if( vTmp== "" ) return ret;
- model.setValue("/root/send/srchrsrvdd", vTmp );
-
- vTmp = model.getValue("/root/main/info/rsrvacptinfo/item/rsrvno");
- if( vTmp == "" ) return ret;
- model.setValue("/root/send/srchrsrvno", vTmp );
- model.setValue("/root/send/srchinstcd", getUserInfo("dutplceinstcd"));
- model.setValue("/root/send/srchjobflag" ,vJobFlag);
- var sNd = "/root/temp/rcptinfo/hidden/opmi_out";
- model.resetInstanceNode(sNd);
- sNd = sNd + "/";
-
- openLoadingBar("수납예상내역 계산 중입니다..") ;//처리중 화면을 오픈한다.
- if( submit("TXAHA02101") == true ){
- model.makeValue(opt_payinsubamt.attribute("ref") , model.getValue( sNd + "opmi_payinsubamt"));
- model.makeValue(opt_payhealcntramt.attribute("ref") , model.getValue( sNd + "opmi_payhealcntramt"));
- model.makeValue(opt_paycmpyamt.attribute("ref") , model.getValue( sNd + "opmi_paycmpyamt"));
- model.makeValue(opt_payownbamt.attribute("ref") , model.getValue( sNd + "opmi_ownbamt"));
-
- model.makeValue(opt_totamt.attribute("ref") , model.getValue( sNd + "opmi_totamt"));
- model.refresh();
- ret = 1;
- }
- closeLoadingBar() ;//처리중 화면을 close한다.
- return ret;
- }
- /**
- * 처방내역 및 현황조회
- */
- function fGetOrdInfo(){
- model.removeNodeset(grd_curlst.nodeset);
- model.setValue("/root/send/srchhealexamflag" , fGetHealExamFlag() ); //건진구분
- var sNd = "/root/main/info/rsrvacptinfo/item/";
- model.setValue("/root/send/srchpid" , model.getValue(sNd + "pid") ); //등록번호
-
- if( model.getValue("/root/send/srchpid") == "" ){
- messageBox("건진내역이 없습니다.", "E999");
- return ;
- }
-
- model.setValue("/root/send/srchrsrvdd" , model.getValue(sNd + "rsrvdd") ); //건진예약등록일자
- model.setValue("/root/send/srchrsrvno" , model.getValue(sNd + "rsrvno") ); //건진예약등록번호
- model.setValue("/root/send/srchorddd" , model.getValue(sNd + "orddd") ); //진료일자
- model.setValue("/root/send/srchcretno" , model.getValue(sNd + "cretno") ); //원무생성번호
-
- submit("TRAHA00701");
- }
- /**
- **건진자번호로 예약/접수 상세정보
- */
- function fGetDetlInfoHid(){
- model.makeNode("/root/main/info/rsrvacptinfo/item/rsrvdd");
- model.setValue("/root/main/info/rsrvacptinfo/item/rsrvdd", "");
- model.makeNode("/root/main/info/rsrvacptinfo/item/rsrvno");
- model.setValue("/root/main/info/rsrvacptinfo/item/rsrvno", "");
- var sHealExamPid = model.getValue("/root/main/info/patinfo/item/healexampid");
- if( sHealExamPid != "" ){
- var vHealExamDetlFg = model.getValue(cmb_healexamdetlflag.attribute("ref") );
- ahafGetRsrvAcpDetltInfoWithPid(vHealExamDetlFg, sHealExamPid);
- }
- }
-
- /**
- **기록지출력
- @author : 김다영
- @version : 2007-09-28
- */
- function fPrntChrt(){
- var pkgcd = ipt_pkgcd.value;
- if( pkgcd !="") {
- pkgcd = pkgcd.substr(4,1);
- if( pkgcd == "1" ){
- exeReportPreview("RPAHA01501", "XMLSTR" , "" , "" , "true" , "", "", "", "", "true");
- }
- else
- if( pkgcd == "2" ) {
- exeReportPreview("RPAHA01502", "XMLSTR" , "" , "" , "true" , "", "", "", "", "true");
- }
- }
- }
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="1,1195;2,784;2,757;">
- <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:106px; height:13px; ">
- <![CDATA[예약/접수]]>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- open("SMAEA04300", "","","", "SMAEA04300", "","");
- ]]>
- </script>
- </caption>
- </group>
- <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
- <group id="group3" style="left:0px; top:10px; width:1194px; height:35px; vertical-align:top; ">
- <shape id="roundrect3" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption14" class="search_name" style="left:636px; top:8px; width:89px; height:17px; ">환자검색 :</caption>
- <button id="btn_search" class="btn1_letter2" style="left:1122px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetList();
- ]]>
- </script>
- </button>
- <line id="line16" style="x1:1106px; y1:7px; x2:1106px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
- <caption id="caption13" class="search_name" style="left:5px; top:9px; width:86px; height:17px; ">건진일자 :</caption>
- <caption id="caption34" class="search_n_b" style="left:196px; top:9px; width:12px; height:17px; font-weight:bolder; ">~</caption>
- <input id="ipt_srchfromdd" ref="/root/send/srchfromdd" class="input_s_essential" inputtype="date" style="left:92px; top:8px; width:100px; height:19px; "/>
- <input id="ipt_srchtodd" ref="/root/send/srchtodd" class="input_s_essential" inputtype="date" style="left:212px; top:8px; width:100px; height:19px; "/>
- <input id="ipt_srchpid" ref="/root/send/srchpid2" class="input_search" maxlength="10" style="left:725px; top:8px; width:135px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_srchpat", "DOMActivate");
- ]]>
- </script>
- </input>
- <button id="btn_srchpat" class="icon_search" style="left:865px; top:10px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSearchPatInfo("SMAHA01500", "pnm", ipt_srchpid.currentText , "N", "/root/send", ipt_srchpid.attribute("ref"), opt_srchpnm.attribute("ref"));
- fGetList();
- ]]>
- </script>
- </button>
- <output id="opt_srchpnm" ref="/root/send/srchpnm2" class="output_fix" style="left:885px; top:8px; width:200px; height:19px; "/>
- <select1 id="cmb_srchhealexamdetlflag" ref="/root/send/srchhealexamdetlflag" class="combo_search" appearance="minimal" style="left:420px; top:8px; width:190px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/healexamdetlflag/A0070">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- cmb_healexamdetlflag.value = cmb_srchhealexamdetlflag.value;
- ]]>
- </script>
- </select1>
- <caption id="caption42" class="search_name" style="left:331px; top:8px; width:86px; height:17px; ">검진구분 :</caption>
- </group>
- <output id="opt_paycmpyamt" ref="/root/main/info/rcptinfo/paycmpyamt" class="output_fix" format="#,###" style="left:939px; top:692px; width:80px; height:19px; text-align:right; "/>
- <caption id="caption30" class="cell_1" style="left:857px; top:715px; width:79px; height:23px; vertical-align:middle; ">합계금액</caption>
- <line id="line23" class="line_2" style="x1:694px; y1:713px; x2:1189px; y2:713px; "/>
- <caption id="caption35" class="cell_1" style="left:857px; top:690px; width:79px; height:23px; vertical-align:middle; ">사업체부담액</caption>
- <caption id="caption5" class="cell_1" style="left:310px; top:691px; width:55px; height:47px; vertical-align:middle; ">특기사항</caption>
- <caption id="caption28" class="cell_1" style="left:692px; top:690px; width:79px; height:23px; vertical-align:middle; ">공단부담액</caption>
- <output id="opt_payownbamt" ref="/root/main/info/rcptinfo/payownbamt" class="output_fix" format="#,###" style="left:1094px; top:692px; width:95px; height:19px; text-align:right; "/>
- <caption id="caption29" class="cell_1" style="left:1021px; top:690px; width:69px; height:23px; vertical-align:middle; ">개인부담액</caption>
- <output id="opt_totamt" ref="/root/main/info/rcptinfo/totamt" class="output_fix" format="#,###" style="left:939px; top:717px; width:250px; height:19px; text-align:right; "/>
- <line id="line6" class="line_3" style="x1:310px; y1:738px; x2:1190px; y2:738px; "/>
- <output id="opt_payinsubamt" ref="/root/main/info/rcptinfo/payinsubamt" class="output_fix" format="#,###" style="left:774px; top:692px; width:80px; height:19px; text-align:right; "/>
- <switch id="swt_list" style="left:0px; top:75px; width:305px; height:615px; border-color:#c7a3cf; border-style:solid; ">
- <case id="case_acpt">
- <datagrid id="grd_acptlst" nodeset="/root/main/list/acptlst" caption="등록번호^성명^나이/성별^접수구분^접수일시^예약일시^최종수정자^최종수정일시" colsep="^" colwidth="57, 66, 66, 68, 88, 105, 100, 100" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:5px; top:5px; width:296px; height:600px; ">
- <col ref="pid"/>
- <col ref="pnm"/>
- <col ref="sexage"/>
- <col disabled="true" ref="statflag" type="combo">
- <choices>
- <itemset nodeset="/root/init/baseinfo/statlst/A0107">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="acptdttm" format="yyyy-mm-dd hh:nn"/>
- <col ref="rsrvdt" format="yyyy-mm-dd hh:nn"/>
- <col ref="lastupdtrid"/>
- <col ref="lastupdtdt" format="yyyy-mm-dd hh:nn:ss"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- ahafGetRsrvAcptDetl(3);
- ]]>
- </script>
- </datagrid>
- </case>
- <case id="case_cncl">
- <datagrid id="grd_cncllst" nodeset="/root/main/list/cncllst" caption="등록번호^성명^나이/성별^취소일자^최종수정자^최종수정일시" colsep="^" colwidth="68, 76, 71, 78, 100, 100" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:5px; top:45px; width:296px; height:560px; ">
- <col ref="pid"/>
- <col ref="pnm"/>
- <col ref="sexage"/>
- <col ref="cncldd" format="yyyy-mm-dd"/>
- <col ref="lastupdtrid"/>
- <col ref="lastupdtdt" format="yyyy-mm-dd hh:nn:ss"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- ahafGetRsrvAcptDetl(4);
- ]]>
- </script>
- </datagrid>
- <group id="group4" style="left:0px; top:3px; width:300px; height:42px; vertical-align:top; ">
- <shape id="roundrect4" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:3px; top:1px; width:295px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption16" class="search_name" style="left:11px; top:8px; width:86px; height:17px; ">구분 :</caption>
- <select1 id="rdo_cnclmode" ref="/root/init/srchmode" overflow="visible" appearance="full" cols="4" rows="1" style="left:71px; top:8px; width:188px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>전체</label>
- <value>4</value>
- </item>
- <item>
- <label>예약취소</label>
- <value>5</value>
- </item>
- <item>
- <label>접수취소</label>
- <value>6</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- fGetList();
- ]]>
- </script>
- </select1>
- </group>
- </case>
- <case id="case_rsrv">
- <datagrid id="grd_rsrvlst" nodeset="/root/main/list/rsrvlst" caption="등록번호^성명^나이/성별^예약일시^최종수정자^최종수정일시" colsep="^" colwidth="82, 66, 66, 68, 100, 100" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:5px; top:5px; width:296px; height:600px; ">
- <col ref="pid"/>
- <col ref="pnm"/>
- <col ref="sexage"/>
- <col ref="rsrvdttm" format="yyyy-mm-dd hh:nn"/>
- <col ref="lastupdtrid"/>
- <col ref="lastupdtdt" format="yyyy-mm-dd hh:nn:ss"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- ahafGetRsrvAcptDetl(1);
- ]]>
- </script>
- </datagrid>
- </case>
- <case id="case_snd" selected="true" style="left:0px; top:0px; width:303px; height:610px; ">
- <datagrid id="grd_sndlst" nodeset="/root/main/list/sndlst" caption="등록번호^성명^나이/성별^접수일자^최종수정자^최종수정일시" colsep="^" colwidth="82, 66, 66, 68, 100, 100" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:5px; top:5px; width:296px; height:600px; ">
- <col ref="pid"/>
- <col ref="pnm"/>
- <col ref="sexage"/>
- <col ref="acptdt" format="yyyy-mm-dd hh:nn"/>
- <col ref="lastupdtrid"/>
- <col ref="lastupdtdt" format="yyyy-mm-dd hh:nn:ss"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- ahafGetRsrvAcptDetl(5);
- ]]>
- </script>
- </datagrid>
- </case>
- </switch>
- <line id="line8" class="line_2" style="x1:310px; y1:335px; x2:1190px; y2:335px; "/>
- <caption id="caption22" class="cell_1" style="left:586px; top:337px; width:55px; height:23px; vertical-align:middle; ">영업소</caption>
- <caption id="caption24" class="cell_1" style="left:855px; top:386px; width:55px; height:23px; vertical-align:middle; ">학년</caption>
- <caption id="caption25" class="cell_1" style="left:586px; top:362px; width:55px; height:23px; vertical-align:middle; ">보건소</caption>
- <line id="line9" class="line_2" style="x1:310px; y1:360px; x2:1190px; y2:360px; "/>
- <line id="line10" class="line_2" style="x1:310px; y1:384px; x2:1190px; y2:384px; "/>
- <line id="line13" class="line_2" style="x1:310px; y1:408px; x2:1185px; y2:408px; "/>
- <caption id="caption1" class="cell_1" style="left:855px; top:131px; width:55px; height:23px; vertical-align:middle; ">등록번호</caption>
- <caption id="caption2" class="tit_2" style="left:310px; top:57px; width:144px; height:13px; ">예약/접수정보</caption>
- <line id="line17" class="line_1" style="x1:310px; y1:73px; x2:1190px; y2:73px; "/>
- <caption id="caption36" class="cell_1" style="left:511px; top:78px; width:73px; height:23px; vertical-align:middle; ">접수일자</caption>
- <line id="line19" class="line_2" style="x1:310px; y1:100px; x2:1185px; y2:100px; "/>
- <caption id="caption37" class="cell_1" style="left:310px; top:78px; width:55px; height:23px; vertical-align:middle; ">검진구분</caption>
- <caption id="caption32" class="cell_1" style="left:1016px; top:312px; width:55px; height:23px; vertical-align:middle; ">입사일자</caption>
- <caption id="caption40" class="cell_1" style="left:855px; top:312px; width:55px; height:23px; vertical-align:middle; ">직종구분</caption>
- <caption id="caption49" class="cell_1" style="left:855px; top:337px; width:55px; height:23px; vertical-align:middle; ">부서</caption>
- <caption id="caption26" class="cell_1" style="left:1016px; top:386px; width:55px; height:23px; vertical-align:middle; ">반/번호</caption>
- <line id="line12" class="line_2" style="x1:312px; y1:641px; x2:1187px; y2:641px; "/>
- <caption id="caption56" class="cell_1" style="left:685px; top:157px; width:62px; height:23px; vertical-align:middle; ">성별/나이</caption>
- <caption id="caption3" class="cell_1" style="left:685px; top:77px; width:62px; height:23px; vertical-align:middle; ">예약일자</caption>
- <line id="line18" class="line_3" style="x1:310px; y1:100px; x2:1190px; y2:100px; "/>
- <line id="line21" class="line_3" style="x1:310px; y1:229px; x2:1190px; y2:229px; "/>
- <line id="line22" class="line_3" style="x1:310px; y1:408px; x2:1190px; y2:408px; "/>
- <select id="chx_prntyn" ref="/root/main/prntinfo/prntyn" overflow="visible" appearance="full" style="left:923px; top:80px; width:50px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>출력</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <select1 id="rdo_prntlang" ref="/root/main/prntinfo/prntlang" navindex="0" overflow="visible" appearance="full" cols="2" rows="1" style="left:976px; top:80px; width:95px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>한글</label>
- <value>K</value>
- </item>
- <item>
- <label>영문</label>
- <value>E</value>
- </item>
- </choices>
- </select1>
- <line id="line26" class="line_2" style="x1:310px; y1:285px; x2:1190px; y2:285px; "/>
- <caption id="caption33" class="cell_1" style="left:855px; top:262px; width:55px; height:23px; vertical-align:middle; ">장소구분</caption>
- <caption id="caption52" class="cell_1" style="left:855px; top:262px; width:55px; height:23px; vertical-align:middle; ">장소구분</caption>
- <caption id="caption57" class="cell_1" style="left:1016px; top:287px; width:55px; height:23px; vertical-align:middle; ">2차간염</caption>
- <caption id="caption59" class="cell_1" style="left:366px; top:288px; width:47px; height:23px; vertical-align:middle; ">무료암</caption>
- <select1 id="rdo_insutrgtflag" ref="/root/main/info/rsrvacptinfo/item/insutrgtflag" overflow="visible" appearance="full" cols="3" rows="1" style="left:369px; top:264px; width:149px; height:20px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/insutrgtflag/A0108">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_insuflag" ref="/root/main/info/rsrvacptinfo/item/insuflag" class="combo_default" appearance="minimal" style="left:587px; top:264px; width:95px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/insuflag/A0109">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="rdo_freecncrtrgtyn" ref="/root/main/info/rsrvacptinfo/item/freecncrtrgtyn" overflow="visible" appearance="full" cols="2" rows="1" style="left:416px; top:290px; width:102px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>대상</label>
- <value>Y</value>
- </item>
- <item>
- <label>비대상</label>
- <value>N</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- fSetCncrCtrl();
- ]]>
- </script>
- </select1>
- <select1 id="rdo_plceflag" ref="/root/main/info/rsrvacptinfo/item/plceflag" overflow="visible" appearance="full" cols="2" rows="1" style="left:913px; top:264px; width:100px; height:20px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/plceflag/A0110">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="rdo_oraltestyn" ref="/root/main/info/rsrvacptinfo/item/oraltestyn" overflow="visible" appearance="full" cols="2" rows="1" style="left:1074px; top:263px; width:115px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>대상</label>
- <value>Y</value>
- </item>
- <item>
- <label>비대상</label>
- <value>N</value>
- </item>
- </choices>
- </select1>
- <caption id="caption61" class="cell_1" style="left:310px; top:262px; width:55px; height:23px; vertical-align:middle; ">직역구분</caption>
- <caption id="caption62" class="cell_1" style="left:521px; top:262px; width:63px; height:23px; vertical-align:middle; ">대상구분</caption>
- <line id="line30" class="line_2" style="x1:310px; y1:260px; x2:1185px; y2:260px; "/>
- <caption id="caption63" class="cell_1" style="left:855px; top:287px; width:55px; height:23px; vertical-align:middle; ">간암검사</caption>
- <select1 id="rdo_scndhptstrgtyn" ref="/root/main/info/rsrvacptinfo/item/scndhptstrgtyn" overflow="visible" appearance="full" cols="2" rows="1" style="left:1074px; top:289px; width:115px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>대상</label>
- <value>Y</value>
- </item>
- <item>
- <label>비대상</label>
- <value>N</value>
- </item>
- </choices>
- </select1>
- <select1 id="cmb_jobkindflag" ref="/root/main/info/rsrvacptinfo/item/jobkindflag" class="combo_default" appearance="minimal" style="left:913px; top:313px; width:100px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/jobkindflag/A0112">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_entcodd" ref="/root/main/info/rsrvacptinfo/item/entcodd" class="input_default" inputtype="date" style="left:1074px; top:313px; width:115px; height:19px; "/>
- <line id="line31" class="line_2" style="x1:310px; y1:310px; x2:1190px; y2:310px; "/>
- <caption id="caption64" class="cell_1" style="left:1016px; top:337px; width:55px; height:23px; vertical-align:middle; ">사번</caption>
- <button id="btn_selpkg" class="btn2_letter3" style="left:889px; top:441px; width:53px; height:19px; ">
- <caption>패키지</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- btn_pkglst.selected = true;
- model.toggle("case_pkg");
- fGetPkgCd("SMAHA01500", "P", "Y","nm" ,"", cmb_healexamdetlflag.value, opt_sex.value ,"/root/temp/templst","Y");
- fSetAddList(grd_pkglst, 2, "/root/temp/templst/list", "Y","Y");
-
- ]]>
- </script>
- </button>
- <button id="btn_add" class="btn2_letter3" style="left:1079px; top:441px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fOperGrdRow(true);
- ]]>
- </script>
- </button>
- <button id="btn_del" class="btn2_letter3" style="left:1135px; top:441px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fOperGrdRow(false);
- ]]>
- </script>
- </button>
- <switch id="swt_info" style="left:310px; top:464px; width:880px; height:223px; border-color:#c7a3cf; border-style:solid; ">
- <case id="case_pkg" selected="true" style="left:0px; top:0px; width:880px; height:223px; ">
- <datagrid id="grd_pkglst" nodeset="/root/main/info/rsrvacptinfo/pkglst" caption="선택^패키지코드^명칭^예약일자^접수일자^접수시간^청구방법^가격^최종수정자^최종수정일시^수가코드" colsep="^" colwidth="31, 68, 242, 100, 100, 85, 70, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:5px; top:30px; width:868px; height:185px; ">
- <col checkvalue="Y,N" ref="sel" type="checkbox"/>
- <col imemode="hangul" ref="pkgcd" type="input"/>
- <col ref="pkgnm"/>
- <col ref="rsrvdd"/>
- <col ref="acptdd"/>
- <col ref="acpttm"/>
- <col ref="uncocd" type="combo">
- <choices>
- <itemset nodeset="/root/init/baseinfo/pamcdlst/uncocdlst">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col ref="scoreamt" format="#,###" style="text-align:right; "/>
- <col ref="lastupdtrid"/>
- <col ref="lastupdtdt"/>
- <col ref="calcscorcd"/>
- <script type="javascript" ev:event="onendedit">
- <![CDATA[
- fAddSingleTestCd();
- ]]>
- </script>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- if( grd_pkglst.col == 2) {
- fAddSingleTestCd();
- }
- ]]>
- </script>
- </datagrid>
- <input id="ipt_pkgcd" ref="/root/main/info/rsrvacptinfo/item/pkgcd" class="input_essential" imemode="hangul" style="left:91px; top:5px; width:85px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_selsnglpkg", "DOMActivate");
- ]]>
- </script>
- </input>
- <button id="btn_selsnglpkg" class="icon_search" style="left:181px; top:6px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if( !fCheckPatInfo() ) return ;
-
- var old_pkgcd = model.getValue("/root/main/info/rsrvacptinfo/item/pkgcd");
- var old_cmpycd = model.getValue("/root/main/info/rsrvacptinfo/item/cmpycd");
- var old_conseq = model.getValue("/root/main/info/rsrvacptinfo/item/conseq");
- var cmpy_flag = model.getValue("/root/main/info/rsrvacptinfo/item/cmpyflag");
-
- if( (cmpy_flag == "") || (cmpy_flag == "N" )) {
- if( old_cmpycd != "" ) cmpy_flag = "Y";
- else cmpy_flag = "N";
- }
-
- if( cmpy_flag == "Y" ){
- fGetPkgCd("SMAHA00100", "C", "N","nm" , ipt_pkgcd.currentText , cmb_healexamdetlflag.value, opt_sex.value , "/root/main/info/rsrvacptinfo/item" );
- fGetCmpyDetlCdList(model.getValue("/root/main/info/rsrvacptinfo/item/cmpycd"));
- }
- else {
- fGetPkgCd("SMAHA00100", "P", "N","nm" , ipt_pkgcd.currentText , cmb_healexamdetlflag.value, opt_sex.value , "/root/main/info/rsrvacptinfo/item");
- }
- var cur_pkgcd = model.getValue("/root/main/info/rsrvacptinfo/item/pkgcd");
- var cur_cmpycd = model.getValue("/root/main/info/rsrvacptinfo/item/cmpycd");
- var cur_conseq = model.getValue("/root/main/info/rsrvacptinfo/item/conseq");
-
- if( (cur_cmpycd != "") && (cur_conseq != "") ) {
- cmpy_flag = "Y";
- }
-
- if( cmpy_flag != "Y" ) {
- if( old_pkgcd == cur_pkgcd ) return;
- }
- else{
- if( (old_cmpycd==cur_cmpycd) && ( old_conseq == cur_conseq) ) return ;
- }
-
- var cur_pkgnm = opt_pkgnm.value;
-
- fGetConAddList(cur_pkgcd, cur_pkgnm, opt_sex.value, cur_cmpycd, cur_conseq);
- model.setValue("main/info/rsrvacptinfo/item/cmpyflag", cmpy_flag)
- grd_addlst.refresh();
- // fTempCalc(model.getValue("/root/main/info/rsrvacptinfo/item/pkgamt"), grd_addlst , 6,7, opt_subtotamt, opt_pkgamt, opt_addamt );
- ]]>
- </script>
- </button>
- <output id="opt_pkgnm" ref="/root/main/info/rsrvacptinfo/item/pkgnm" class="output_fix" style="left:201px; top:5px; width:669px; height:19px; "/>
- <caption id="cap_pkgcd" class="cell_1" style="left:6px; top:3px; width:83px; height:23px; vertical-align:middle; ">패키지</caption>
- <line id="line11" class="line_2" style="x1:5px; y1:26px; x2:873px; y2:26px; "/>
- <line id="line14" class="line_2" style="x1:5px; y1:3px; x2:873px; y2:3px; "/>
- </case>
- <case id="case_add">
- <datagrid id="grd_oldaddlst" nodeset="/root/main/info/rsrvacptinfo/addlst" visibility="hidden" caption="선택^검사구분^검사코드^명칭^예약일자^예약시간^접수일자^접수시간^구분^진행^수가^최종수정자^최종수정일시" colsep="^" colwidth="31, 53, 83, 242, 100, 73, 100, 85, 70, 33, 100, 100, 100" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:6px; top:120px; width:469px; height:95px; ">
- <col checkvalue="Y,N" ref="sel" type="checkbox"/>
- <col ref="pkgflag" type="combo">
- <choices>
- <item>
- <label>A</label>
- <value>A</value>
- </item>
- <item>
- <label>S</label>
- <value>S</value>
- </item>
- </choices>
- </col>
- <col ref="testcd" type="inputbutton"/>
- <col ref="testnm"/>
- <col ref="hopedd"/>
- <col ref="rsrvtm"/>
- <col ref="acptdd"/>
- <col ref="acpttm"/>
- <col ref="uncocd" type="combo">
- <choices>
- <itemset nodeset="/root/init/baseinfo/pamcdlst/uncocdlst">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col ref="statflag"/>
- <col ref="calcscoramt"/>
- <col ref="lastupdtrid"/>
- <col ref="lastupdtdt"/>
- </datagrid>
- <datagrid id="grd_addlst" nodeset="/root/main/info/rsrvacptinfo/addlst" caption="선택^검사구분^검사코드^검사명^청구방법^가격^횟수^단체할인액^examseq^수가코드^prcpno^prcpdd^m^grupflag" colsep="^" colwidth="33, 58, 100, 250, 87, 78, 66, 85, 100, 100, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:5px; top:5px; width:870px; height:210px; ">
- <col checkvalue="Y,N" ref="sel" type="checkbox"/>
- <col ref="testflag" type="combo">
- <choices>
- <itemset nodeset="/root/init/baseinfo/testflag/A0117">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="testcd" type="inputbutton"/>
- <col ref="testnm"/>
- <col ref="uncocd" type="combo">
- <choices>
- <itemset nodeset="/root/init/baseinfo/pamcdlst/uncocdlst">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col ref="scoreamt" visibility="visible" format="#,###" style="text-align:right; "/>
- <col ref="prcptims" type="input"/>
- <col ref="cmpydiscamt" visibility="visible" format="#,###" style="text-align:right; "/>
- <col ref="examseq" visibility="hidden"/>
- <col ref="calcscorcd"/>
- <col ref="prcpno"/>
- <col ref="prcpdd"/>
- <col ref="m"/>
- <col ref="grupflag"/>
- <script type="javascript" ev:event="onendedit">
- <![CDATA[
- if( (grd_addlst.col == 3 ) && (event.keyCode == 13 ) && (model.getValue(grd_addlst.nodeset + "[" + grd_addlst.row + "]/examseq" ) == "") ){
- //fSelPkgAdd("A" , );
- fGetPkgCd("SMAHA00100", "A", "N","nm" , grd_addlst.labelMatrix( grd_addlst.row , 3) , cmb_healexamdetlflag.value, opt_sex.value ,grd_addlst.nodeset + "[" + grd_addlst.row + "]");
- grd_addlst.refresh();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- if( (grd_addlst.col == 3 ) && (model.getValue(grd_addlst.nodeset + "[" + grd_addlst.row + "]/examseq" ) == "") ){
- //fGetPkgCd("SMAHA00100", "A", "Y","nm" , grd_addlst.labelMatrix( grd_addlst.row , 3) , cmb_healexamdetlflag.value, opt_sex.value );
- fGetPkgCd("SMAHA00100", "A", "N","nm" , grd_addlst.labelMatrix( grd_addlst.row , 3) , cmb_healexamdetlflag.value, opt_sex.value ,grd_addlst.nodeset + "[" + grd_addlst.row + "]");
- grd_addlst.refresh();
- }
- ]]>
- </script>
- </datagrid>
- </case>
- <case id="case_cur">
- <datagrid id="grd_curlst" nodeset="/root/main/info/curlst/ordinfo/ordlst" caption="예약일자^예약시간^접수일자^건진코드^명칭^구분^상태" colsep="^" colwidth="78, 76, 100, 99, 287, 85, 100" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:6px; top:5px; width:863px; height:210px; ">
- <col ref="rsrvdd" format="yyyy-mm-dd"/>
- <col ref="rsrvtm" format="hh:nn:ss"/>
- <col ref="prcpdd" format="yyyy-mm-dd"/>
- <col ref="testcd"/>
- <col ref="testnm"/>
- <col ref="testflag" type="combo">
- <choices>
- <itemset nodeset="/root/init/baseinfo/testflag/A0117">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="rcptstat" type="combo">
- <choices>
- <itemset nodeset="/root/init/baseinfo/ordstatlst/M0011">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- </datagrid>
- </case>
- <case id="case_hist">
- <datagrid id="grd_hist" nodeset="/root/main/info/histlst/item" caption="일자^건진코드^명칭^단체구분^rsrvdd^rsrvno^최종수정자^최종수정일시" colsep="^" colwidth="79, 79, 411, 54, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:5px; top:5px; width:870px; height:210px; ">
- <col ref="orddd"/>
- <col ref="pkgcd"/>
- <col ref="pkgnm"/>
- <col checkvalue="Y,N" disabled="true" ref="cmpyflag" type="checkbox"/>
- <col ref="rsrvdd" visibility="hidden"/>
- <col ref="rsrvno" visibility="hidden"/>
- <col ref="lastupdtrid"/>
- <col ref="lastupdtdt" format="yyyy-mm-dd hh:nn:ss"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- ahafGetRsrvAcptDetl(6);
- ]]>
- </script>
- </datagrid>
- </case>
- <case id="case_rslt">
- <textarea id="tar_firstrslt" scroll="vertical" style="left:5px; top:6px; width:868px; height:210px; "/>
- </case>
- <case id="case_test">
- <datagrid id="datagrid8" nodeset="/root/main/info/curlst/ordinfo/ordlst" caption="건진코드^명칭^수가" colsep="^" colwidth="93, 280, 94" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:6px; top:5px; width:863px; height:210px; ">
- <col ref="testcd"/>
- <col ref="testnm"/>
- <col ref="scoreamt" format="#,###" style="text-align:right; "/>
- </datagrid>
- </case>
- </switch>
- <button id="btn_addlst" class="btn_sw" group="tab" style="left:394px; top:443px; width:99px; height:22px; ">
- <caption>추가/선택검사</caption>
- <toggle case="case_add" ev:event="onclick"/>
- </button>
- <button id="btn_curlst" class="btn_sw" group="tab" style="left:493px; top:443px; width:74px; height:22px; ">
- <caption>현황조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetOrdInfo();
- model.toggle("case_cur" );
- ]]>
- </script>
- </button>
- <button id="btn_histlst" class="btn_sw" group="tab" style="left:567px; top:443px; width:74px; height:22px; ">
- <caption>건진이력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.toggle("case_hist" );
- ahafGetHistList(ipt_pid.value);
- ]]>
- </script>
- </button>
- <button id="btn_pkglst" class="btn_sw" group="tab" style="left:310px; top:443px; width:84px; height:22px; ">
- <caption>선택패키지</caption>
- <toggle case="case_pkg" ev:event="onclick"/>
- </button>
- <button id="btn_rslt" class="btn_sw" group="tab" style="left:641px; top:443px; width:79px; height:22px; ">
- <caption>1차판정결과</caption>
- <toggle case="case_rslt" ev:event="onclick"/>
- </button>
- <button id="btn_test" class="btn_sw" group="tab" style="left:720px; top:443px; width:64px; height:22px; ">
- <caption>처방내역</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetOrdInfo();
- model.toggle("case_test");
- ]]>
- </script>
- </button>
- <button id="btn_seladd" class="btn2_letter4" style="left:945px; top:441px; width:64px; height:19px; ">
- <caption>추가검사</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- btn_addlst.selected = true;
- model.toggle("case_add");
- fGetPkgCd("SMAHA01500", "A", "Y","nm" , "" , cmb_healexamdetlflag.value, opt_sex.value , "/root/temp/templst","Y");
- fSetAddList(grd_addlst, 3, "/root/temp/templst/list", "Y", "N");
- ]]>
- </script>
- </button>
- <button id="btn_selspcl" class="btn2_letter4" style="left:1012px; top:441px; width:64px; height:19px; ">
- <caption>유해인자</caption>
- </button>
- <caption id="caption7" class="cell_1" style="left:854px; top:77px; width:67px; height:23px; vertical-align:middle; ">공단기록지</caption>
- <caption id="caption15" class="cell_1" style="left:1016px; top:261px; width:55px; height:23px; vertical-align:middle; ">구강검사</caption>
- <caption id="caption31" class="cell_1" style="left:1016px; top:181px; width:55px; height:23px; vertical-align:middle; ">휴대폰</caption>
- <caption id="caption27" class="cell_1" style="left:1016px; top:206px; width:55px; height:23px; vertical-align:middle; ">출생지</caption>
- <caption id="caption10" class="cell_1" style="left:855px; top:206px; width:55px; height:23px; vertical-align:middle; ">여권번호</caption>
- <caption id="caption38" class="cell_1" style="left:511px; top:131px; width:73px; height:23px; vertical-align:middle; ">성명(한)</caption>
- <caption id="caption39" class="cell_1" style="left:310px; top:386px; width:55px; height:23px; vertical-align:middle; ">청구방법</caption>
- <input id="ipt_healcntrcd" ref="/root/main/info/rsrvacptinfo/item/healcntrcd" class="input_default" imemode="hangul" style="left:643px; top:363px; width:82px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if( event.keyCode == 13 ){
- if( ipt_healcntrcd.currentText == "" ) return ;
- var sCond = ipt_healcntrcd.currentText;
- var ret = ahafGetCmpyInfo( "05", sCond , "N" ,ipt_healcntrcd.attribute("ref"), opt_healcntrnm.attribute("ref") , "");
- if( !ret ) {
- fGetComnCd("SMAHA01500", "05" , "nm", sCond ,ipt_healcntrcd.attribute("ref"), opt_healcntrnm.attribute("ref"));
- }
-
- }
- ]]>
- </script>
- </input>
- <button id="btn_selhealcntrcd" class="icon_search" style="left:731px; top:364px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetComnCd("SMAHA01500", "05" , "nm", ipt_healcntrcd.currentText ,ipt_healcntrcd.attribute("ref"), opt_healcntrnm.attribute("ref"));
- ]]>
- </script>
- </button>
- <output id="opt_healcntrnm" ref="/root/main/info/rsrvacptinfo/item/healcntrnm" class="output_fix" style="left:753px; top:363px; width:100px; height:19px; "/>
- <input id="ipt_clntempid" ref="/root/main/info/rsrvacptinfo/item/clntempid" class="input_default" style="left:1074px; top:340px; width:115px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- fMoveFocus("cmb_uncocd");
- ]]>
- </script>
- </input>
- <select1 id="cmb_uncocd" ref="/root/main/info/rsrvacptinfo/item/pkguncocd" class="combo_default" appearance="minimal" style="left:368px; top:387px; width:150px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/pamcdlst/uncocdlst">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_bizoffccd" ref="/root/main/info/rsrvacptinfo/item/bizoffccd" class="combo_default" appearance="minimal" style="left:644px; top:339px; width:208px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/cmpydetlcdlst/offclst">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_spclhealexamflag" ref="/root/main/info/rsrvacptinfo/item/spclhealexamflag" class="combo_default" appearance="minimal" style="left:912px; top:363px; width:276px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/spclhealexamflag/A0111">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_schlgrde" ref="/root/main/info/rsrvacptinfo/item/schlgrde" class="input_default" style="left:913px; top:387px; width:100px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- fMoveFocus("ipt_clsid");
- ]]>
- </script>
- </input>
- <input id="ipt_clsid" ref="/root/main/info/rsrvacptinfo/item/clsid" class="input_default" style="left:1074px; top:387px; width:53px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- fMoveFocus("ipt_studid");
- ]]>
- </script>
- </input>
- <input id="ipt_studid" ref="/root/main/info/rsrvacptinfo/item/studid" class="input_default" style="left:1128px; top:387px; width:61px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- fMoveFocus("tar_remcnts");
- ]]>
- </script>
- </input>
- <textarea id="tar_remcnts" ref="/root/main/info/rsrvacptinfo/item/remcnts" scroll="vertical" style="left:368px; top:692px; width:321px; height:44px; "/>
- <button id="btn_acptlst" class="btn_sw" group="tab" selected="true" style="left:0px; top:54px; width:60px; height:22px; ">
- <caption>접수</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.toggle("case_acpt");
- fGetList();
- ]]>
- </script>
- </button>
- <button id="btn_rsrvlst" class="btn_sw" group="tab" style="left:119px; top:54px; width:60px; height:22px; ">
- <caption>예약</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.toggle("case_rsrv");
- fGetList();
- ]]>
- </script>
- </button>
- <button id="btn_sndlst" class="btn_sw" group="tab" style="left:178px; top:54px; width:77px; height:22px; ">
- <caption>2차대상자</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.toggle("case_snd");
- fGetList();
- ]]>
- </script>
- </button>
- <button id="btn_cncllst" class="btn_sw" group="tab" style="left:59px; top:54px; width:60px; height:22px; ">
- <caption>취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.toggle("case_cncl");
- fGetList();
- ]]>
- </script>
- </button>
- <caption id="caption9" class="cell_1" style="left:855px; top:181px; width:55px; height:23px; vertical-align:middle; ">연락처</caption>
- <caption id="caption11" class="cell_1" style="left:511px; top:157px; width:73px; height:23px; vertical-align:middle; ">생년월일</caption>
- <line id="line1" class="line_2" style="x1:310px; y1:179px; x2:1190px; y2:179px; "/>
- <line id="line2" class="line_2" style="x1:310px; y1:204px; x2:1190px; y2:204px; "/>
- <caption id="caption17" class="tit_2" style="left:315px; top:418px; width:144px; height:13px; ">건진 정보</caption>
- <line id="line5" class="line_1" style="x1:310px; y1:433px; x2:1190px; y2:433px; "/>
- <caption id="caption18" class="tit_2" style="left:310px; top:242px; width:144px; height:13px; ">추가 정보</caption>
- <line id="line7" class="line_1" style="x1:310px; y1:257px; x2:1190px; y2:257px; "/>
- <caption id="caption71" class="tit_2" style="left:315px; top:111px; width:94px; height:13px; ">건진자 정보</caption>
- <line id="line37" class="line_1" style="x1:310px; y1:126px; x2:1190px; y2:126px; "/>
- <caption id="caption4" class="cell_1" style="left:310px; top:131px; width:55px; height:23px; vertical-align:middle; ">주민번호</caption>
- <caption id="caption8" class="cell_1" style="left:310px; top:157px; width:55px; height:23px; vertical-align:middle; ">증번호</caption>
- <line id="line3" class="line_2" style="x1:310px; y1:154px; x2:1190px; y2:154px; "/>
- <line id="line4" class="line_2" style="x1:310px; y1:688px; x2:1190px; y2:688px; "/>
- <caption id="caption12" class="cell_1" style="left:310px; top:181px; width:55px; height:48px; vertical-align:middle; ">주소</caption>
- <caption id="caption41" class="cell_1" style="left:855px; top:157px; width:55px; height:23px; vertical-align:middle; ">E-mail</caption>
- <select1 id="cmb_stmccncrflag" ref="/root/main/info/rsrvacptinfo/item/stmccncrflag" class="combo_essential" appearance="minimal" style="left:588px; top:289px; width:94px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/pamcdlst/cncruncocdlst">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <select id="chx_stmccncryn" ref="/root/main/info/rsrvacptinfo/item/stmccncryn" overflow="visible" appearance="full" cols="1" style="left:521px; top:290px; width:63px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>위</label>
- <value>Y</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- fCheckFreeCncrTrgt(1);
- ]]>
- </script>
- </select>
- <select id="chx_largeintescncryn" ref="/root/main/info/rsrvacptinfo/item/largeintescncryn" overflow="visible" appearance="full" cols="1" style="left:685px; top:290px; width:70px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>대장</label>
- <value>Y</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- fCheckFreeCncrTrgt(2);
- ]]>
- </script>
- </select>
- <select id="chx_livcncrtrgtyn" ref="/root/main/info/rsrvacptinfo/item/livcncrtrgtyn2" overflow="visible" appearance="full" cols="1" style="left:368px; top:316px; width:43px; height:18px; border-style:none; ">
- <choices>
- <item>
- <label>간</label>
- <value>Y</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- fCheckFreeCncrTrgt();
- ]]>
- </script>
- </select>
- <select id="chx_mamcncryn" ref="/root/main/info/rsrvacptinfo/item/mamcncryn" overflow="visible" appearance="full" cols="1" style="left:521px; top:314px; width:63px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>유방</label>
- <value>Y</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- fCheckFreeCncrTrgt(3);
- ]]>
- </script>
- </select>
- <select id="chx_cervcncryn" ref="/root/main/info/rsrvacptinfo/item/cervcncryn" overflow="visible" appearance="full" cols="1" style="left:685px; top:314px; width:70px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>자궁경부</label>
- <value>Y</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- fCheckFreeCncrTrgt(4);
- ]]>
- </script>
- </select>
- <input id="ipt_cmpycd" ref="/root/main/info/rsrvacptinfo/item/cmpycd" class="input_default" style="left:368px; top:339px; width:82px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if( event.keyCode == 13 ){
- if( ipt_cmpycd.currentText == "" ) return ;
-
- var sCond = ipt_cmpycd.currentText ;
- var ret = ahafGetCmpyInfo( "08", sCond , "N" ,ipt_cmpycd.attribute("ref"), opt_cmpynm.attribute("ref") , "");
- if( ret ){
- fGetCmpyDetlCdList();
- }
- else {
- fGetComnCd("SMAHA01500", "08" , "nm", sCond ,ipt_cmpycd.attribute("ref"), opt_cmpynm.attribute("ref"));
- fGetCmpyDetlCdList();
- }
-
- }
- ]]>
- </script>
- </input>
- <button id="btn_selcmpycd" class="icon_search" style="left:456px; top:340px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetComnCd("SMAHA01500", "08" , "nm", ipt_cmpycd.currentText ,ipt_cmpycd.attribute("ref"), opt_cmpynm.attribute("ref"));
- fGetCmpyDetlCdList();
- ]]>
- </script>
- </button>
- <output id="opt_cmpynm" ref="/root/main/info/rsrvacptinfo/item/cmpynm" class="output_fix" style="left:478px; top:339px; width:105px; height:19px; "/>
- <caption id="caption20" class="cell_1" style="left:310px; top:337px; width:55px; height:23px; vertical-align:middle; ">사업장</caption>
- <caption id="caption43" class="cell_1" style="left:310px; top:287px; width:55px; height:48px; vertical-align:middle; ">암구분</caption>
- <caption id="caption21" class="cell_1" style="left:310px; top:362px; width:55px; height:23px; vertical-align:middle; ">관할지사</caption>
- <select1 id="cmb_cervcncrflag" ref="/root/main/info/rsrvacptinfo/item/cervcncrflag" class="combo_essential" appearance="minimal" style="left:757px; top:313px; width:95px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/pamcdlst/cncruncocdlst">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_largeintescncrflag" ref="/root/main/info/rsrvacptinfo/item/largeintescncrflag" class="combo_essential" appearance="minimal" style="left:757px; top:289px; width:95px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/pamcdlst/cncruncocdlst">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_mamcncrflag" ref="/root/main/info/rsrvacptinfo/item/mamcncrflag" class="combo_essential" appearance="minimal" style="left:588px; top:313px; width:94px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/pamcdlst/cncruncocdlst">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_livcncrflag" ref="/root/main/info/rsrvacptinfo/item/livcncrflag" class="combo_essential" appearance="minimal" style="left:414px; top:313px; width:94px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/pamcdlst/cncruncocdlst">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption19" class="cell_1" style="left:685px; top:131px; width:62px; height:23px; vertical-align:middle; ">성명(영)</caption>
- <output id="opt_cnclcnt" ref="/root/main/list/listinfo/cnclcnt" class="output_fix" style="left:38px; top:718px; width:65px; height:19px; text-align:right; "/>
- <caption id="caption70" class="cell_1" style="left:106px; top:691px; width:35px; height:23px; vertical-align:middle; ">예약</caption>
- <line id="line32" class="line_2" style="x1:0px; y1:714px; x2:305px; y2:714px; "/>
- <caption id="caption44" class="cell_1" style="left:0px; top:691px; width:35px; height:23px; vertical-align:middle; ">접수</caption>
- <caption id="caption87" class="cell_1" style="left:212px; top:691px; width:35px; height:23px; vertical-align:middle; ">수납</caption>
- <caption id="caption88" class="cell_1" style="left:106px; top:716px; width:35px; height:23px; vertical-align:middle; ">보류</caption>
- <output id="opt_rsrvcnt" ref="/root/main/list/listinfo/rsrvcnt" class="output_fix" style="left:144px; top:693px; width:65px; height:19px; text-align:right; "/>
- <caption id="caption89" class="cell_1" style="left:0px; top:716px; width:35px; height:23px; vertical-align:middle; ">취소</caption>
- <output id="opt_rcptcnt" ref="/root/main/list/listinfo/rcptcnt" class="output_fix" style="left:250px; top:693px; width:55px; height:19px; text-align:right; "/>
- <output id="opt_holdcnt" ref="/root/main/list/listinfo/holdcnt" class="output_fix" style="left:144px; top:718px; width:65px; height:19px; text-align:right; "/>
- <line id="line39" class="line_3" style="x1:0px; y1:738px; x2:305px; y2:738px; "/>
- <output id="opt_acptcnt" ref="/root/main/list/listinfo/acptcnt" class="output_fix" style="left:38px; top:693px; width:65px; height:19px; text-align:right; "/>
- <output id="opt_outcnt" ref="/root/main/list/listinfo/outcnt" class="output_fix" style="left:250px; top:718px; width:55px; height:19px; text-align:right; "/>
- <caption id="caption90" class="cell_1" style="left:212px; top:716px; width:35px; height:23px; vertical-align:middle; ">부도</caption>
- <caption id="caption45" class="cell_1" style="left:855px; top:362px; width:55px; height:23px; vertical-align:middle; ">특검구분</caption>
- <caption id="caption23" class="cell_1" style="left:521px; top:386px; width:63px; height:23px; vertical-align:middle; ">할인계정</caption>
- <caption id="caption93" class="search_n_b" style="left:433px; top:135px; width:12px; height:17px; font-weight:bolder; ">-</caption>
- <input id="ipt_rgstno1" ref="/root/main/info/patinfo/item/rgstno1" class="input_essential" format="999999" style="left:368px; top:133px; width:62px; height:19px; "/>
- <input id="ipt_rgstno2" ref="/root/main/info/patinfo/item/rgstno2" class="input_essential" format="9999999" style="left:446px; top:133px; width:62px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if( (getStringLength(ipt_rgstno2.currentText) > 6) && (getStringLength(ipt_rgstno1.currentText) > 5) ){
- fInitRsrvAcptInfo();
- //주민번호로 환자 검색
- fSetBrthDD();
- fGetPatInfo(1);
- fGetDetlInfoHid();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if( event.keyCode == 13 ){
- //fGetPatInfo(1);
- //model.setFocus("ipt_pid");
- //주민번호로 환자 검색 like~
- fInitRsrvAcptInfo();
- if( getStringLength(ipt_rgstno2.currentText) < 7 ){
- fSearchPatInfo("SMAHA00100", "rgstno","", "Y", "/root/main/info/patinfo/item", "", "", ipt_rgstno1.currentText , ipt_rgstno2.currentText);
- }
- else {
- if( getStringLength(ipt_rgstno2.currentText) > 6) fGetPatInfo(1);
- }
- fGetDetlInfoHid();
- model.setFocus("ipt_hopedd");
- }
- ]]>
- </script>
- </input>
- <input id="ipt_pnm" ref="/root/main/info/patinfo/item/hngnm" class="input_essential" imemode="hangul" style="left:587px; top:132px; width:75px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_selpat" , "DOMActivate");
- ]]>
- </script>
- </input>
- <button id="btn_selpat" class="icon_search" style="left:666px; top:132px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fInitRsrvAcptInfo();
- fSearchPatInfo("SMAHA01500", "pnm", ipt_pnm.currentText , "Y", "/root/main/info/patinfo/item");
- fGetDetlInfoHid();
- ]]>
- </script>
- </button>
- <input id="ipt_engnm" ref="/root/main/info/patinfo/item/engnm" class="input_default" imemode="alpha" style="left:750px; top:132px; width:102px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- fMoveFocus("ipt_pid");
- ]]>
- </script>
- </input>
- <input id="ipt_pid" ref="/root/main/info/patinfo/item/pid" class="input_default" style="left:913px; top:132px; width:100px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if( event.keyCode == 13 ){
- fInitRsrvAcptInfo();
- fGetPatInfo(2);
- var tmp = instance1.selectSingleNode("/root/main/info/patinfo/item/pid");
- if( tmp == null ) {
- inputEnterKey("btn_selpid", "DOMActivate");
- }
- else {
- fGetDetlInfoHid();
- }
- }
- ]]>
- </script>
- </input>
- <button id="btn_selpid" class="icon_search" style="left:1016px; top:134px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fInitRsrvAcptInfo();
- fSearchPatInfo("SMAHA01500", "pid", ipt_pid.currentText , "Y", "/root/main/info/patinfo/item");
- fGetDetlInfoHid();
- ]]>
- </script>
- </button>
- <input id="ipt_insuid" ref="/root/main/info/patinfo/item/patm_insuid" class="input_default" format="9-9999999999" style="left:368px; top:158px; width:76px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- fMoveFocus("ipt_brthdd");
- ]]>
- </script>
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- fSetInsuTrgtFg();
- ]]>
- </script>
- </input>
- <input id="ipt_brthdd" ref="/root/main/info/patinfo/item/brthdd" class="input_default" inputtype="date" style="left:587px; top:158px; width:95px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- fMoveFocus("ipt_emailid");
- ]]>
- </script>
- </input>
- <output id="opt_age" ref="/root/main/info/patinfo/item/age" class="output_fix" style="left:801px; top:158px; width:51px; height:19px; "/>
- <output id="opt_sex" ref="/root/main/info/patinfo/item/sex" class="output_fix" style="left:750px; top:158px; width:48px; height:19px; "/>
- <input id="ipt_emailid" ref="/root/main/info/patinfo/item/emailid" class="input_default" imemode="alpha" maxlength="40" style="left:913px; top:158px; width:100px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- fMoveFocus("cmb_emailtype");
- ]]>
- </script>
- </input>
- <select1 id="cmb_emailtype" ref="/root/init/emailkind" class="combo_default" appearance="minimal" style="left:1016px; top:158px; width:81px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/emailkind/A0120">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- var idx = cmb_emailtype.value;
- if( idx == "01" ) //직접입력
- {
- ipt_emailtype.value = "@";
- model.setFocus("ipt_emailtype");
- }
- else {
- ipt_emailtype.value = cmb_emailtype.label ;
- fMoveFocus("cmb_rsrvflag");
- }
- ]]>
- </script>
- </select1>
- <input id="ipt_emailtype" ref="/root/main/info/patinfo/item/emailtype" class="input_default" imemode="alpha" maxlength="30" style="left:1099px; top:158px; width:90px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- fMoveFocus("btn_selzipcd");
- ]]>
- </script>
- </input>
- <caption id="caption46" class="search_n_b" style="left:417px; top:183px; width:12px; height:17px; font-weight:bolder; ">-</caption>
- <input id="opt_zipcd1" ref="/root/main/info/patinfo/item/zipcd11" class="output_fix" format="999" style="left:368px; top:183px; width:47px; height:19px; "/>
- <input id="opt_zipcd2" ref="/root/main/info/patinfo/item/zipcd12" class="output_fix" format="999" style="left:431px; top:183px; width:47px; height:19px; "/>
- <input id="opt_addr" ref="/root/main/info/patinfo/item/addr1" class="output_fix" style="left:510px; top:183px; width:342px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if( event.keyCode == 13 ){
- var srcNode = ahafSetAddr(1, "/root/main/info/patinfo/item" , "combination", opt_addr.currentText );
- opt_addr.value = model.getValue(srcNode + "/addr") ;
- }
- ]]>
- </script>
- </input>
- <button id="btn_selzipcd" class="icon_search" style="left:485px; top:184px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- ahafSetAddr(1, "/root/main/info/patinfo/item");
- ]]>
- </script>
- </button>
- <input id="ipt_detladdr" ref="/root/main/info/patinfo/item/detladdr1" class="input_default" imemode="hangul" maxlength="100" style="left:368px; top:208px; width:417px; height:19px; "/>
- <input id="ipt_telno" ref="/root/main/info/patinfo/item/telno" class="input_default" maxlength="30" style="left:913px; top:184px; width:100px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- fMoveFocus("ipt_mpphon");
- ]]>
- </script>
- </input>
- <input id="ipt_mpphon" ref="/root/main/info/patinfo/item/mpphon" class="input_default" maxlength="30" style="left:1074px; top:183px; width:115px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- fMoveFocus("ipt_psptno");
- ]]>
- </script>
- </input>
- <input id="ipt_psptno" ref="/root/main/info/patinfo/item/psptno" class="input_default" imemode="alpha" style="left:913px; top:207px; width:100px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- fMoveFocus("ipt_brthareacnts");
- ]]>
- </script>
- </input>
- <input id="ipt_brthareacnts" ref="/root/main/info/patinfo/item/brthareacnts" class="input_default" imemode="hangul" style="left:1074px; top:207px; width:115px; height:19px; "/>
- <button id="btn_savepatinfo" class="btn5_letter6" style="left:1105px; top:106px; width:86px; height:19px; ">
- <caption>인적사항저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if( messageBox("건진자 인적사항을 ", "Q002") == 6 ) {
- fSavePatInfo("N");
- }
- ]]>
- </script>
- </button>
- <select1 id="cmb_healexamdetlflag" ref="/root/main/info/rsrvacptinfo/item/healexamdetlflag" class="combo_default" appearance="minimal" style="left:368px; top:79px; width:140px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/healexamdetlflag/A0070">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_orddd" ref="/root/main/info/rsrvacptinfo/item/orddd" class="input_essential" disabled="true" inputtype="date" style="left:587px; top:79px; width:95px; height:19px; "/>
- <input id="ipt_hopedd" ref="/root/main/info/rsrvacptinfo/item/hopedd" class="input_essential" inputtype="date" style="left:750px; top:79px; width:102px; height:19px; "/>
- <output id="opt_payhealcntramt" ref="/root/main/info/rcptinfo/payhealcntramt" class="output_fix" format="#,###" style="left:774px; top:717px; width:80px; height:19px; text-align:right; "/>
- <caption id="caption48" class="cell_1" style="left:692px; top:715px; width:79px; height:23px; vertical-align:middle; ">보건소부담액</caption>
- <select1 id="cmb_deptcd" ref="/root/main/info/rsrvacptinfo/item/deptcd" class="combo_default" appearance="minimal" style="left:912px; top:340px; width:100px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/cmpydetlcdlst/deptlst">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_disccd" ref="/root/main/info/rsrvacptinfo/item/disccd" class="combo_default" appearance="minimal" itemcount="10" style="left:587px; top:387px; width:265px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/pamcdlst/disccdlst">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="rdo_livcncrtrgtyn" ref="/root/main/info/rsrvacptinfo/item/livcncrtrgtyn" overflow="visible" appearance="full" cols="2" rows="1" style="left:913px; top:287px; width:100px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>대상</label>
- <value>Y</value>
- </item>
- <item>
- <label>비대상</label>
- <value>N</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- chx_livcncrtrgtyn.value = rdo_livcncrtrgtyn.value;
- ]]>
- </script>
- </select1>
- <button id="btn_ordmgt" class="btn2_letter4" style="left:822px; top:441px; width:64px; height:19px; ">
- <caption>처방관리</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- setParameter ("SMAHA00700_PARAM1" , model.getValue( cmb_healexamdetlflag.attribute("ref")) );
- setParameter ("SMAHA00700_PARAM2" , model.getValue( ipt_pid.attribute("ref")) );
- modal("SMAHA00700");
- ]]>
- </script>
- </button>
- <button id="btn_sendaddr" class="btn2_letter4" style="left:790px; top:209px; width:64px; height:19px; ">
- <caption>발송주소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grp_addr2.attribute("left") = parseInt( opt_zipcd1.attribute("left"));
- grp_addr2.attribute("top") = parseInt( opt_zipcd1.attribute("top"));
- grp_addr2.visible = true;
- ]]>
- </script>
- </button>
- <group id="grp_addr2" visibility="hidden" style="left:55px; top:195px; width:485px; height:70px; ">
- <caption id="caption47" class="tit_2" style="left:5px; top:5px; width:108px; height:14px; ">발송주소입력</caption>
- <line id="line15" class="line_1" style="x1:5px; y1:20px; x2:480px; y2:20px; "/>
- <button id="btn_choiclose" class="icon_plus" style="left:467px; top:0px; width:13px; height:15px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grp_addr2.visible = false;
- ]]>
- </script>
- </button>
- <input id="opt_addr2" ref="/root/main/info/patinfo/item/addr2" class="output_fix" style="left:131px; top:25px; width:350px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if( event.keyCode == 13 ){
- var srcNode = ahafSetAddr(2, "/root/main/info/patinfo/item" , "combination", opt_addr2.currentText );
- opt_addr2.value = model.getValue(srcNode + "/addr") ;
- }
- ]]>
- </script>
- </input>
- <button id="btn_searchzipcd2" class="icon_search" style="left:110px; top:26px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- ahafSetAddr(2, "/root/main/info/patinfo/item");
- ]]>
- </script>
- </button>
- <caption id="caption50" class="search_n_b" style="left:49px; top:26px; width:12px; height:17px; font-weight:bolder; ">-</caption>
- <input id="ipt_zipcd21" ref="/root/main/info/patinfo/item/zipcd21" class="output_fix" format="999" style="left:5px; top:25px; width:42px; height:19px; "/>
- <input id="ipt_detladdr2" ref="/root/main/info/patinfo/item/detladdr2" class="input_default" imemode="hangul" maxlength="100" style="left:5px; top:47px; width:475px; height:19px; "/>
- <input id="ipt_zipcd22" ref="/root/main/info/patinfo/item/zipcd22" class="output_fix" format="999" style="left:63px; top:25px; width:42px; height:19px; "/>
- <line id="line20" class="line_2" style="x1:5px; y1:45px; x2:480px; y2:45px; "/>
- </group>
- <select1 id="rdo_cmpyflag" ref="/root/main/info/rsrvacptinfo/item/cmpyflag" visibility="hidden" overflow="visible" appearance="full" cols="2" rows="1" style="left:1085px; top:80px; width:100px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>개인</label>
- <value>N</value>
- </item>
- <item>
- <label>단체</label>
- <value>Y</value>
- </item>
- </choices>
- </select1>
- <output id="opt_insucorpbrchnm" ref="/root/main/info/rsrvacptinfo/item/insucorpbrchnm" class="output_fix" style="left:478px; top:363px; width:105px; height:19px; "/>
- <input id="ipt_insucorpbrchcd" ref="/root/main/info/rsrvacptinfo/item/insucorpbrchcd" class="input_default" imemode="hangul" style="left:368px; top:363px; width:82px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if( event.keyCode == 13 ){
- if( ipt_insucorpbrchcd.currentText == "" ) return ;
- var sCond = ipt_insucorpbrchcd.currentText ;
- var ret = ahafGetCmpyInfo( "02", sCond , "N" ,ipt_insucorpbrchcd.attribute("ref"), opt_insucorpbrchnm.attribute("ref") , "");
- if( !ret ) {
- fGetComnCd("SMAHA01500", "02" , "nm", sCond ,ipt_insucorpbrchcd.attribute("ref"), opt_insucorpbrchnm.attribute("ref"));
- }
-
- }
- ]]>
- </script>
- </input>
- <button id="btn_selinsucorpbrchcd" class="icon_search" style="left:456px; top:364px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetComnCd("SMAHA01500", "02" , "nm", ipt_insucorpbrchcd.currentText ,ipt_insucorpbrchcd.attribute("ref"), opt_insucorpbrchnm.attribute("ref"));
- ]]>
- </script>
- </button>
- <select1 id="cmb_rsrvflag" ref="/root/main/info/rsrvacptinfo/item/rsrvflag" class="combo_essential" appearance="minimal" style="left:757px; top:264px; width:95px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/rsrvflaglst/A0115">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fMoveFocus("cmb_rsltcnstflag");
- ]]>
- </script>
- </select1>
- <caption id="cap_rsrvflag" class="cell_1" style="left:685px; top:262px; width:70px; height:23px; vertical-align:middle; ">예약구분</caption>
- <button id="btn_getinsu" class="btn2_letter4" style="left:1038px; top:106px; width:64px; height:19px; ">
- <caption>자격조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var sRgstNo1 = model.getValue( ipt_rgstno1.attribute("ref") );
- var sRgstNo2 = model.getValue( ipt_rgstno2.attribute("ref") );
- var sHngNm = model.getValue( ipt_pnm.attribute("ref") );
- var sOrdDD = model.getValue( ipt_hopedd.attribute("ref") );
- if( sOrdDD == "" ) {
- sOrdDD = model.getValue( ipt_orddd.attribute("ref") );
- }
-
- var vInsuKind = opt_insukind.attribute("ref") ;
- var vInsuID = ipt_insuid.attribute("ref") ;
- var vInsuCd = opt_insucd.attribute("ref") ;
- var vFromDD = "";
- var vInsuNm = "";
- var vInsuBranchCd = ipt_insucorpbrchcd.attribute("ref") ;
- var vInsuBranchNm = opt_insucorpbrchnm.attribute("ref") ;
-
- ahafGetInsuCnts(sRgstNo1, sRgstNo2, sHngNm, sOrdDD
- ,vInsuKind, vInsuID, vInsuCd, vFromDD, vInsuNm , vInsuBranchCd , vInsuBranchNm);
- var sInsuKind = model.getValue(vInsuKind ) ;
- if( sInsuKind == "" ){
- if( sInsuKind != "11" ) //건강보험 이 아니면 의료급여로 가정...
- {
- cmb_insuflag.value = "3";
- }
- }
- ]]>
- </script>
- </button>
- <output id="opt_insukind" ref="/root/main/info/patinfo/item/patm_insukind" class="output_fix" visibility="hidden" style="left:635px; top:110px; width:30px; height:19px; "/>
- <output id="opt_insucd" ref="/root/main/info/patinfo/item/patm_insucd" class="output_fix" style="left:446px; top:158px; width:62px; height:19px; "/>
- </group>
- <group id="grp_btn" style="left:0px; top:757px; width:1195px; height:27px; ">
- <button id="btn_cmpy" class="btn3_letter5" style="left:94px; top:4px; width:92px; height:22px; ">
- <caption>거래처등록</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- open("SMAHB00500");
- ]]>
- </script>
- </button>
- <button id="btn_groupacpt" class="btn3_letter6" style="left:187px; top:4px; width:104px; height:22px; ">
- <caption>단체예약/접수</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- open("SMAHA00300");
- ]]>
- </script>
- </button>
- <button id="btn_prntdiag" class="btn3_letter5" style="left:293px; top:4px; width:92px; height:22px; ">
- <caption>진단서출력</caption>
- </button>
- <button id="btn_rsrvcfm" class="btn4_letter2" style="left:820px; top:4px; width:56px; height:22px; ">
- <caption>예약</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSaveRsrvAcpt("C");
- ]]>
- </script>
- </button>
- <button id="btn_clear" class="btn4_letter3" style="left:749px; top:4px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fInitInfo();
- fSetBtnStat();
- ]]>
- </script>
- </button>
- <button id="btn_rsrvcncl" class="btn4_letter4" style="left:879px; top:4px; width:80px; height:22px; ">
- <caption>예약취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSaveRsrvAcpt("D");
- ]]>
- </script>
- </button>
- <button id="btn_acpt" class="btn4_letter2" style="left:997px; top:4px; width:56px; height:22px; ">
- <caption>접수</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var ret = fSaveRsrvAcpt("E");
- //접수처리 실패시 return
- if( ret < 0 ) return ;
-
- if (model.getValue ("/root/main/prntinfo/prntyn") != "Y" ){
- return;
- }
- fPrntChrt();
-
- ]]>
- </script>
- </button>
- <button id="btn_acptcncl" class="btn4_letter4" style="left:1056px; top:4px; width:80px; height:22px; ">
- <caption>접수취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSaveRsrvAcpt("F");
- ]]>
- </script>
- </button>
- <button id="btn_rcpt" class="btn4_letter2" style="left:1139px; top:4px; width:56px; height:22px; ">
- <caption>수납</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- ahafOpenRcpt( fGetHealExamFlag()
- , model.getValue("/root/main/info/rsrvacptinfo/item/rsrvdd")
- , model.getValue("/root/main/info/rsrvacptinfo/item/rsrvno")
- , model.getValue("/root/main/info/patinfo/item/pid")
- , model.getValue("/root/main/info/rsrvacptinfo/item/rcptstat")
- , model.getValue("/root/main/info/rsrvacptinfo/item/orddd" ) );
- ]]>
- </script>
- </button>
- <button id="btn_testrsrv" class="btn3_letter4" style="left:387px; top:4px; width:80px; height:22px; ">
- <caption>검사예약</caption>
- </button>
- <button id="btn_prntseq" class="btn6_letter5" style="left:0px; top:4px; width:92px; height:22px; ">
- <caption>순서표출력</caption>
- </button>
- <button id="btn_rsrvacptprest" class="btn3_letter6" style="left:469px; top:4px; width:104px; height:22px; ">
- <caption>예약/접수현황</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- ahafOpenRsrvAcptList("SMAHA00100"
- , fGetHealExamFlag() , model.getValue(cmb_healexamdetlflag.attribute("ref") ) , "N" , "C" , ""
- , "" , ipt_pnm.currentText, ipt_pid.currentText , ipt_rgstno1.currentText, ipt_rgstno2.currentText, "", "pnm", "/root/main/info/rsrvacptinfo/item");
- if( model.getValue("/root/temp/SMAHA00400/okflag") == "ok" ){
- ahafGetRsrvAcpDetltInfo( model.getValue("/root/main/info/rsrvacptinfo/item/rsrvdd"), model.getValue("/root/main/info/rsrvacptinfo/item/rsrvno") );
- }
- ]]>
- </script>
- </button>
- <button id="btn_prntchrt" class="btn6_letter5" style="left:575px; top:4px; width:92px; height:22px; ">
- <caption>기록지출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fPrntChrt();
-
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|